import { BezierPath } from './bezierPath'
import { ShapeStyle, Transform } from 'libsvga.so'

export class RectPath extends BezierPath {
  _x: number;
  _y: number;
  _width: number;
  _height: number;
  _cornerRadius: number;
  transform: Transform | undefined;
  styles: ShapeStyle | undefined;

  constructor(
    x: number,
    y: number,
    width: number,
    height: number,
    cornerRadius: number,
    transform: Transform | undefined,
    styles: ShapeStyle | undefined) {
    super('', transform, styles);
    this._x = x
    this._y = y
    this._width = width
    this._height = height
    this._cornerRadius = cornerRadius
    this.transform = transform
    this.styles = styles
  }
}